<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>修改入库管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="__PUBLIC__/css/layui.css"  media="all">
    <link rel="stylesheet" href="__PUBLIC__/css/public.css"  media="all">
</head>
<body>
<div class="layui-conter">
    <div class="layui-col-md12">
        <div class="navigation">
            <span>行政></span><span>入库管理></span><span>修改入库管理</span>
        </div>
        <div class="white-conter selsectSet">
            <div class="title-blue"><b>新建入库管理</b></div>
            <div style="margin-top: 20px">
                <form class="layui-form" action="" method="post">
                    <div class="layui-col-md6">
                        <div class="layui-col-md10">
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b>条形码</b></label>
                                </div>
                                <div class="input-block">
                                    <input type="text" name="barcode" autocomplete="off" placeholder="请输入..." class="layui-input" value="{$list.barcode}">
                                </div>
                            </div>
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b>商品名称</b></label>
                                </div>
                                <div class="input-block">
                                    <input type="text" name="goodsname" autocomplete="off" placeholder="请输入..." class="layui-input" value="{$list.goodsname}">
                                </div>
                            </div>
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b>进价</b></label>
                                </div>
                                <div class="input-block">
                                    <input type="text" name="purchaseprice" autocomplete="off" placeholder="请输入..." class="layui-input" value="{$list.purchaseprice}">
                                </div>
                            </div>
                            <div class="form-item" >
                                <div class="label-div">
                                    <label class="form-label"><b>数量</b></label>
                                </div>
                                <div class="input-block">
                                    <input type="text" name="inventory" autocomplete="off" placeholder="请输入..." class="layui-input" value="{$list.inventory}">
                                </div>
                            </div>
                            
                        </div>
                    </div>
                    <div class="layui-col-md6" style="float: left;">
                        <div class="layui-col-md10">
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b>仓库</b></label>
                                </div>
                                <div class="input-block">
                                   <input type="text" name="warehouse" autocomplete="off" placeholder="请输入..." class="layui-input" value="{$list.warehouse}">
                                </div>
                            </div>
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b>入库时间</b></label>
                                </div>
                                <div class="input-block">
                                    <input type="text" name="logtime" id="newdate"  lay-verify="date" placeholder="请选择"  class="layui-input" value="{$list.logtime}">
                                </div>
                            </div>
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b>供应商</b></label>
                                </div>
                                <div class="input-block">
                                    <input type="text" name="supplier" autocomplete="off" placeholder="请输入..." class="layui-input" value="{$list.supplier}">
                                </div>
                            </div>
                            <div class="form-item">
                                <div class="label-div">
                                    <label class="form-label"><b></b></label>
                                </div>
                                <div class="input-block">
                                    <input type="hidden" name="id" autocomplete="off" placeholder="请输入..." class="layui-input" value="{$list.id}">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md12">
                        <div class="button-block">
                            <button class="layui-btn layui-btn-xs layui-btn-normal" lay-submit="" style="height: 30px;width: 60px;">提交</button>
                            <button  class="layui-btn layui-btn-xs btn-grey" style="height: 30px;width: 60px;">返回</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>

    </div>

</div>




<script src="__PUBLIC__/js/layui.all.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
    layui.use(['form', 'layedit', 'laydate'], function(){
        var form = layui.form
            ,layer = layui.layer
            ,layedit = layui.layedit
            ,laydate = layui.laydate;
        //日期
        laydate.render({
            elem: '#signDate'
        });
        laydate.render({
            elem: '#endDate'
        });
    });
</script>
</body>
</html>
